package com.yunsc.store.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yunsc.common.serializer.TimestampToDateSerializer;
import lombok.Data;

import java.io.Serializable;

/**
 * H5端设置表
 * 
 * @author adan
 * @email 2028038953@qq.com
 * @date 2024-04-22 11:35:52
 */
@Data
@TableName("yunsc_h5_setting")
public class YunscH5SettingEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 设置项标示
	 */
	@TableId("`key`")
	private String key;
	/**
	 * 设置项描述
	 */

	@TableField("`describe`")
	private String describe;
	/**
	 * 设置内容(json格式)
	 */
	@TableField("`values`")
	private String values;
	/**
	 * 商城ID
	 */
	private Integer storeId;
	/**
	 * 更新时间
	 */
	@TableField(fill = FieldFill.INSERT_UPDATE)
	@JsonSerialize(using = TimestampToDateSerializer.class)
	private Integer updateTime;

}
